Skip to content

show backtraces by default#48

Merged
headius merged 1 commit intojruby:masterfrom
ahorek:backtraces
Mar 16, 2022
Merged

show backtraces by default#48
headius merged 1 commit intojruby:masterfrom
ahorek:backtraces

Conversation

@ahorek
Copy link
Copy Markdown
Contributor

@ahorek ahorek commented Feb 8, 2022

I would like to suggest showing backtraces by default because an error report like this isn't very useful:

before

[ERROR] Errors:
[ERROR]   TestUTF8SoftBankToSJISKDDI.test1:15 » ArrayIndexOutOfBounds Index 3 out of bou...

after

[ERROR] org.jcodings.transcode.TestUTF8SoftBankToSJISKDDI.test1  Time elapsed: 0.016 s  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
        at org.jruby.jcodings@1.0.56-SNAPSHOT/org.jcodings.transcode.Transcoding.transcodeRestartable0(Transcoding.java:172)
        at org.jruby.jcodings@1.0.56-SNAPSHOT/org.jcodings.transcode.Transcoding.transcodeRestartable(Transcoding.java:105)
        at org.jruby.jcodings@1.0.56-SNAPSHOT/org.jcodings.transcode.Transcoding.convert(Transcoding.java:86)
        at org.jruby.jcodings@1.0.56-SNAPSHOT/org.jcodings.transcode.EConv.transSweep(EConv.java:236)
...

@headius
Copy link
Copy Markdown
Member

headius commented Mar 16, 2022

Wow, I didn't even know this was an option.

@headius headius merged commit fabbfbd into jruby:master Mar 16, 2022
@headius headius modified the milestones: 1.0.56, non-release Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants